<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/static/css/bootstrap.min.css">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<div id="mainContainer">
		<!-- 从session中获取学生集合 -->
		<form
			action="${pageContext.request.contextPath}/user/User_list.action"
			method="post" name="userForm" id="userForm">
			<table class="table" width="100%">
				<col width="30%">
				<col width="30%">
				<col width="20%">
				<tr class="title" class="userName">
					<td>用户名</td>
					<td>密码</td>
					<td>操作</td>
				</tr>
				<!-- 遍历开始 -->
				<s:iterator value="#session.users_list" var="aUser">
					<tr class="list">
						<td><a><s:property value="#aUser.userName" /></a></td>
						<td><s:property value="#aUser.password" /></td>
						<td><a
							href="#"
							onclick="javascript: return confirm('真的要删除吗？');">删除</a></td>
					</tr>
				</s:iterator>
				<!-- 遍历结束 -->

				<tr>
					<td style="vertical-align: top;" colspan="3"><div class="pagination"
							style="float: right; padding-top: 0px; margin-top: 0px;">${page.pageStr}</div></td>
				</tr>
			</table>
		</form>
	</div>
</body>
</html>